Explicitly build Qt as shared library

By default, as specified in the documentation [1], it should be build Qt as shared library. For sake of completeness, let's be explicit.

[1] http://qt-project.org/doc/qt-4.8/configure-options.html