Ubuntu compatibility fixes

See commit notes for details. Basically, `linux` and `linux-prerequisites` does not work as-is on a fresh Ubuntu desktop install. This PR fixes that. :)