fix macports detections