Fixes to ShaderProgram after making them compile/link when first bound.