Fix mysqli build when building against libmysqlclient.