Remove extra slash in path from build script