Remove submodules that aren't portable