Lazy compilation of shaders (fixes #88)