Fixed SQLite database issues.

Due to the static nature of SQLite it is not possible to simply plug'n'play
this build. You will have to delete your SQLite db for JobSuite so it can be
remade with the proper database schema.