fixes for building with metis and no openmp