Compile spidermonkey with threadsafe.
Downgrade erlang so that couchdb@1.2.1 compiles.