build: Add cmake library that hopefully can hide Qt4/Qt5 differences