Removes build directories.