fixing build for MySQL 5.5