This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.