Fixed a problem with USE_UPNP=- in optionsmodel.cpp.

Also fixed up .pro file for linux building.