fixed makefile and linker