Fix project files of libraries to compile with Qt5

This should fix issue #11.