- Mark implied dirs with FLAG_IMPLIED_DIR.