Configuring preprocessor definitions based on the system environment