Make it compile on OS X 10.9 (no endian.h)
Merge pull request #2 from nanomsg/darwin-10.9-endian

Make it compile on OS X 10.9 (no endian.h)