add m4 macro for checking compiler flags