fixed sqlite3 compiler problem in vs2010 (by pansz)