Revert "update configure"

This reverts commit 6610d5ff510461cea6527a7623275c309b8d3530.