Changed the Configure script to link libjemalloc properly.

The libjemalloc.so.1 library was not being linked properly. Tweaked the configuration file to enable proper linking.