fixed cmake dependency warnings
added check for mpi4py in config