bug-fix: nls code conditionally dissabled

while the configure script cconfigure script support
--disable-nls, the nls code is not  conditionally disabled which
causes build failures on uclibc.  This patch fixes the affected code.

Submited initialy by Rick "Zero_Chaos" Farina" zerochaos@gentoo.org
Tested by: Sergey Senozhatsky sergey.senozhatsky@gmail.com

I had to refactore the patch to apply the code.

Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>