Enable threading when building for most platforms

Don't enable threading globally since the MSVC/ARM build target
(neither windows phone nor windows rt) doesn't support the normal
windows threading functions.
Merge pull request #222 from mstorsjo/enable-threading

Enable threading when building for most platforms