fix sqlite build on windows