fixing compiler flags