move build all above variable to build common