Fix `make check` with nbmake