Starting to rev up to latest sdk and syntax

Tried to run the tests but the native library is not being resolved. Any ideas why the native library is not being resolved? So this commit does not fully update sqlite, hopefully its enough to do some minor tweaks to complete.