Fix argument order for linking