nb1: workaround for a breakage on recent libraries