Added patches to boost/atomic/detail for OS X

2 patches to get OS X build working
put mkdir of bin back in in case it is needed
Merge pull request #1 from richlewis42/master

Patches for boost required to build on OS X