xcode changes
Merge pull request #5 from jmarshallnz/posix

xcode changes