fix cannot build with mysql 5.5