move build out of dependencies