merge two very similar if-elif-else blocks
get rid of senseless value for $WM_MPLIB in case of OpenMPI build