[lipstick] Allow lipstick to be built on both Qt4 and Qt5