Added support for systems without openmp