Fixed an issue with OpenMP preventing compilation on certain systems.