fix library link order
4 files changed