moved arguments for "ld --as-needed"