Refactor Makefile.libretro for 'compat' fnmatch/glob