libretro: Add OSX version minor detection to Makefile