fix 'osxcross-macports upgrade'