sqlite: fix build on Tiger

See http://comments.gmane.org/gmane.comp.db.sqlite.general/71258
and https://trac.macports.org/ticket/32930