It appears you're copying boost inside of boost.afio? I'd strongly recommend you unpack boost somewhere, symlink boost.afio/boost/afio and boost/afio/libs/afio in appropriately, and then invoke boost build from within boost. That way afio appears to be part of boost.