Mac OS X: Various cmake and build fixes, though I feel as if this will break a lot of things.. Needs testing..
Mac OS X: More nasty fixes, the sound interface for OS X fails to compile and probably needs to be rewritten