fixes for iOS build of shaders