script/osx: remove obsolete lines