patched makefile to work with debian