cmake: add missing MySQL related C flags