fix compiler flags