A compound of formula (XII) where Y is a protecting group and R3 is a halogen, preferably Br or I, more preferably I, is reacted with an organolithium reagent such as n-butyllithium in an organic solvent such as THF, diethyl ether and the like, and then reacted with a compound of formula (XVII) to afford a compound of formula (XVIII).