Fixed unnecessary builds on clean target