Add workaround for OpenMPI dlopen incompatibility.