Fix building with old npm