Add workaround for macport bug on Mountain Lion (10.8).