swapped library link order