Add postinstall script

Add postinstall script to package.json. Fix the .\lib not exist from ```git install```.