Add better OSX version minor detection to Makefile