fix postinstall & bump 1.7.1