Added OpenMPI support to build files and fixed some compiler errors