update Makefile for checking bin directory