enable threadsafe mode

http://tenderlovemaking.com/2012/06/18/removing-config-threadsafe.html
Merge pull request #17 from barodeur/threadsafe

enable threadsafe mode