Optimises build folder