[QMAKE] build discount as shared library

Changed qmake project file to build discount as shared instead of
a static library.