Select compilation options based on $(CC) in tests/Makefile.