Remove needless directories in SUBDIRS