check for build files in submodules since empty folders exist in any case