workaround: separated ldflags and libs.