add .gitignore file.
fix library output file.