Update the makefile in order to make the static mpi version compile