or a stereoisomer, a tautomer, a pharmaceutically acceptable salt thereof. The compound can be used in the treatments of diseases or conditions mediated by CSF-1R, c-KIT, FLT3, or PDGFR kinases. Such diseases or conditions may include cancers, autoimmune diseases, and bone resorptive diseases.