Rearrange link line so the libraries come after the source.