keep in sync with libretro-fetch.sh