added Makefile support for min/gz