Build tests with global CFLAGS.