ignore llvm warnings using pragmas and update makefile to only pass llvm linker flags when linking objects