Fix linker issue in makefile