Addressing compilation issues on OS X [dhewm/dhewm3#64].

On OS X, use uname -m to determine the system processor value.  Handle
the cross-compile case as well, but that's untested.