Game compiler fixes

Biggest changes are in 5b36c42 for the legacy compiler option, but also has other minor fixes for hard linking and consistency between Windows and Linux build targets.