Added first version of OS X compilation support.

This is the first version of OS X compilation support.
It has been tested over OS X 10.9.

The only problem found is that if you execute the game using double click instead of using terminal it do not read the assets.