Reparations for allow build the installer from Windows XP.

With Windows XP there are problems with long names of paths, and with
other things.

This commit closes #2082.