back to the old ldflags for static reasons