Missing the preprocessor define in the project generation.