fix bug 1062710 - clean build dir