fix for Qt build