Fix warnings while building _mysql.so

fixes #8