Fix build with old Qt4