update configure script
fix compile error on Qt4.6