added missing preprocessor check