Debug compilation: check flags actually supported by the compiler