improve makefile support for MPI compiliation on BG/Q