Fixing OpenMP for later version of gcc