Build fixes

This branch contains a number of fixes related to the build system.  There might still be a few issues with the VAX build, but that is not as high priority.  Most of this work has been done on Itanium.

This fixes issue #9.