remove some macos version checks that are obsolete