Improved resilience when checking for SQLite on OSX