Fix to makefile (bug #4215)