(Libretro) Some build fixes