Add initial support for Darwin/OS X.

The file can now be imported on OS X, and a BuildRoot() can be created.  The
relocation/verification isn't implemented yet.