configure: Set the initial ldflags to match the cflags