Update of Mac OSX build scripts for Mac OSX Mountain Lion (10.8.X)

This update adds a switch in build-package.in so that it checks the Mac OSX version and points to the correct SDK for Mountain Lion. It should also be possible to add SDK for 10.7, but I don't have access to that, so I can't test it.