fixed Makefile

... old makefile didn't allow external overriding of variables.