CMake: Improve Gettext support.

 * Fix some minor issues and make customization with xgettext options easier.