[CH3:1][C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[N:5]=[C:4](O)[C:3]=1[C:12]1[CH:17]=[CH:16][CH:15]=[CH:14][CH:13]=1.O=P(Cl)(Cl)[Cl:20]>>[Cl:20][C:4]1[C:3]([C:12]2[CH:17]=[CH:16][CH:15]=[CH:14][CH:13]=2)=[C:2]([CH3:1])[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[N:5]=1250 mg of the product of step 1 and 10 ml POCl3 are heated to 100° C. for 1 h. The excess POCl3 is removed by distillation and the residue is treated with ice and diluted with dichloromethane. The phases are separated, the aqueous layer is extracted twice with dichloromethane, the combined organic layers are dried over Na2SO4 and concentrated to give the crude product.