close #1: use temp dir to deal with the build process