Build fix for Qt