This teaches the TryCompile test to check that the compiler flag check macros correctly reject a bad flag. See issue #9516.