Fixes for building with Qt5 SDK.