Fix const issue in nisplus lookup