added preprocessor for g++