Add OSX version minor detection in Makefile