Added comments for static functions.
Added built library directory to .gitignore
Fixed built library name to be prepended with 'lib'.
Refactored parse_args().