Merge pull request #10 from jasperges/master

Fix platform detection of OSX ('darwin')
Removed cwd = render_output from render.py