detect distribution in Makefile