cmake/Boost: add mac os x support