Move libs to the end of cc stanza