Change to use 'LIBRETRO_DIRECTORY' and patch 'retroarch.c':