next portability fixes for dlgprs utility