Enable shared linking for Qt 4