CMake: Fix checking of DESTDIR
GenerateHelptags: Use ${PREFIX} variable
Merge pull request #1381 from xzfc/master

GenerateHelptags: Fix checking of DESTDIR