Switch to Portable Library for SQLite.

Also fixes #3.