Replaced all ifdef MPI and similar statements with ifdef _USE_MPI