Fixed npm install preinstall process