Switched to mac environment. Seems that mac has modified all the line endings.

The important changes here are that the "\" slashes in the includes were changed to be mac compatible, and a function was added for getting the current directory.

Build fine on the mac, cool. Next step is reconfiguring control to go through scokets to win for generating bodies.