ctcp is now in sqlite3 format

fixes a few other compiler problems