Fixing makefile for downloading lib dependencies