Fixed a bug with ditrty bild dirs.