create build_dir properly