Use '__LIBRETRO__' instead of 'RETRO' as a define