fixed a configure error in master branch