Fixed Makefile linking