updated makefile with linker flags