added HepMC converter into BuildFile
added macro for WS