ugly Makefile bugfix