Build in temp directory so that git repo does not get cluttered.