The compound of formula XXXVI can be converted to compound of formula XXXVII where R7 is an alkyl group having 1 to 7 carbon atoms by esterification of carboxylic acid with compound of formula XXX using N,N-dicyclohexylcarbodiimide as dehydrating condensing agent.