Fix build with qtcreator