fix npm post-install script issue.