Added sys/osx - compile support for mac osx

Please consider merging this patch.  Mac compile support implemented by adding sys/osx/setup.sh.  Tested on Maverick.