Handle absence of PDO/sqlite a bit better