add optional support for submodules
This should play nice with libretro-fetch.sh