adds OSX fix

I know this is not a POC, however I feel it is relevant to visitors since it is not a large part of discussion yet or upstream repositories for OSX. If it is not the right place for this, I apologize