add option for build dir