Fixed: Various Qt 4 build errors