Build Cleanup

Removed MPI and Kerberos support which were complicated and largely unused.
Simplified handling of dynamic libraries which should fix build problems on RHEL5