[CMake] Hhopefully fix libmpq compilation on ubuntu and make it use cmake more properly than before