parch & fix for qt4-lib