remove static libs from ldflags; they should be in the standalone build