Fix deprecated AX_CHECK_COMPILER_FLAGS directives