fix configure bug

Change-Id: I45bd0ebdc4ef7942ff2d7042524927bbcbd6c069