This adds utility functions to conditionally add compiler flags, allowing warnings from newer compiler versions to be used without causing a lot of noise for users of older compilers.