Compiling the client for MacOS

I have created a package for Mac OS X now: WIP: Mac OS X client