openmp parts now inside preprocessor