Changes made to enable use with PGI compilers on Cray.