Use SQLITE_THREADSAFE=0 on Windows too.

So far we only defined SQLITE_THREADSAFE=0 on Linux and OS X platforms
but it's perfect fine for Windows too.