Show warning count
Shorten the build_dir if possible