macos compile error in MetaInfo fixes