change library name for generator to libO2Gen to avoid conflict with FairRoot libGen