Pass more defines in config.h instead of on the command line. Pass libgc defines to libgc only.