Depends on posix_memalign and a linker supporting '--wrap' to wrap arbitrary symbols.
mentioned in issue #219 (closed)