OpenMP compile fixes (hopefully)