add gen_hepmc program and hepmc module in cmake