Fix NLS being always disabled.

The config.hpp configuration header must be included before the
gettext header.
Process all .po files at once rather than one by one.

Prevents issues with older CMake versions (and looks nicer in
the CMake output :-)).