(cmake) Fix an output error for template.qm
(osx/bundle) Fix creation of lang directory