glsl2: Fix standalone compiler to not crash horribly.