command/build: no longer build current project to too many folders; #388
command/build: fixes a reference error; #388