Fix build error when using libmariadbclient.

Fixes farcepest/MySQLdb1#80