Add OSX version minor detection to Makefile