fixes for openmpi