Moved OSX build to using posix_memalign.