fix configure error