Rename fputs_unlocked because of conflict with gnu stdio.h
Fix compatibility with GNU compiler
Ignore generated cmake files
Add install target
Add installation documentation