Improved compatibility with 10.8.

Building default packages under Mountain Lion now works.