Fixing the CPack run fixup bundle python script.

This is a set of nasty hacks to get things to flow through the CPack
generation. These changes probably won't work on a 10.8 builder.