Position-independent code required to compile with Qt5

Qt 5.0.1 precompiled by QtProject requires position-independent code to be switched on, i.e. -fPIC or -fPIE to be used when compiling.