Fix sqlite compiler warnings, when building with gcc