Fix build tools for min/not min. Fix dependencies in npm.