Fix `npm test` when --no-bin-links is active.