Fix makefile bug