Fix redundant arguments to linker