Add makefile snippet for check OS