PyQt4 portability flags/dir

Make it more easy to set where PyQt4 is located and which flags should
be used through the autoconf options.