Don't include "malloc.h", functions available from "stdlib.h".
Implement "ALLOC_ALIGNED" for OSX.
Merge pull request #32 from fancycode/osx_memalign

Fixes for OSX
Include "malloc.h" if available (required for memalign).