Compounds of formula V may be prepared by may be prepared by reacting a compound of formula VI with a compound of formula IX, where if T1 is CH then Y is hydrogen and if T1 is N then Y is a protecting group, in an analogous manner as described in method (d) above.