Fixed jpeg dependency for libqt4