Compounds for treating myopia