Use CFLAGS in check_cpp