remove the temporary build dir when building balanced