fixed enforcing of mpi library version

Jonannes,

This should fix it. I also added a comment refering the cmake build.

Cheers,
Sérgio