Correcting a bug compiling without OpenMP