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 remote-tracking branch 'richlewis42/master' into fix_boost_1_55_mavericks_build
fix explicit management of patches inside the build script
Merge remote-tracking branch 'origin/fix_boost_1_55_mavericks_build' into development