Insert GLSL version define before other defines if found from the shader code. Closes #398.