[ndctl PATCH] ndctl: fix 'make check' for common build environments