(cherry picked from commit f555d9992caabed1eff90a34fb57225ab0e32a9b)
Note: This adds support for using jemalloc on FreeBSD, Mac OS X Lion and a few other platforms (not enabled by default) Please read dep/jemalloc/ChangeLog for further information (Changed from 2.1.1 and up apply)