Fixed MySQLi extension check.