fix sqlite for windows
build fixes for windows