resupport --help and fix build on newer npm. fixes #1