Instantiate PDO differently depending on db type