fix build support for cascading of NLS up to the app level