Fixed #12. Allow to build with Qt 5.