Fix compile errors in shaders