Merge pull request #257 from circlingthesun/master

Fix build with Qt5
Stops the use QT5 excecutable compile flags when building shared libraries