Fix build when NLS option is unchecked.
Reported by: Geraud CONTINSOUZAS <geraud.continsouzas@skazy.nc>