Support compiling without posix_memalign() function