fixing compilation issue with newer mysql code base. issue 66.