Dirty workaround to build on Qt4