Update Makefile

Send proper flags to the linker.