Mac os x build

Most things are working. The only bug i've found is that two music tracks plays on top of each other it seems... or it might be the volume changing, not sure.
I've also been a bit lazy with documenting how the build process works and where to put the external libraries.