check compiler flags