Update to build on Qt 5