Fix build on OSX 10.6, and possibly later.
Add a few VAX specific changes.