fixing build for MySQL 5.5
Merge pull request #3 from dynek/master

fixing build for MySQL 5.5