make sure to include config.h so that the #ifdef tests work