Removes dependencies on the MPI library
Adds -pthread to ensure the threaded runtime is linked against