Fixed linking issue with Qt5 (issue #24)