move link from ldflags to libs