remove leading slash from build_dir path