[PATCH] fix build on nls free systems