Edit makefile to link all needed lib