core: attempt to fix Qt4 support