remove two unneccesary directories from configure
auto merge of #19460 : steveklabnik/rust/conf_fixes, r=alexcrichton