cmake: Rollup of srb2-side changes See merge request KartKrew/Kart!758
No idea if it compiles on Mac, it does on Linux though, at least for me.
Haven't ever gotten CMake to compile SRB2, so I'm unable to really check if this works