Linux build environment fixes (note: depends on a further premake fix)