Move clocale behind libintl.h to resolve std::setlocale conflict.