use new pyqt4.m4 to detect related tools.