Add postinstall directive. Update .gitignore.