Fix error when PDO is not installed.