Fix build when using pre 3.7.15 version of sqlite
Tests: Fix warning