Use CMake instead of Scons for building tinygettext.
Fix sprintf call.
Remove duplicated function from rebase.