Fixed SIGPIPE issues on OSX. (#194)
Fixed alignment issue on ARM. Now using packed structures to prevent LLVM from adding any padding. (#191)