Support shared libraries in cray builds.
Merge pull request #2 from rsdale/develop

Support shared libraries in cray builds.