Updated the qmake file to work with static linking