Add try/catch to compile the shaders