Fix byte order detection on Mac OS X/Darwin. Bug 700.
Fix double definition of CPU_* macro's for Darwin/OSX. Bug 701.
Use _mm_free for memory allocated by _mm_alloc. Bug 703. Minor compiler warning fixes.