modified makefile to allow linker flags