Keep backwards compatibility: replace "dest" variable.

Its an alias for PROJECTDIR and used in quite some templates
apparently.

BUG: 329392
Merge branch '1.6'