Fix for OpenMP on OSX