Fixed preprocessor definition bug