Fix build by setting NM_VERSION_MAX_ALLOWED