fix pdo for php version < 5.3.6