added makefile patch from edo