Fix #77, and allow npm install --production