add in auto detection of Darwin to export variables
Merge pull request #1 from pwae/master

add in auto detection of Darwin to export variables