build fixes for NetBSD.

- remove an unnecessary bash dependency.
- use "gmake" if available.  cherly excepts GNU make.