Build scripts adopted to new toolchain, sqlite3 module added.