This is a work around to avoit what looks like a CMake bug Thanks Paul Kapinos for the report Fixes open-mpi/ompi#1868