Impreoved F5 GenCTags function under Windows