fix link errors on windows
creatensis: build installed.db for osgeo4w-setup
fix build with Qt <4.7 (eg. Debian Lucid)
Merge pull request #1 from qgis/master

test of jef-n's commit from 8oct