ANSI C and win c compiler fixes
Merge branch 'prerelease' of github.com:sqlcipher/sqlcipher into ditto