add pthread to link libraries
add a script to add copyright text to source files that don't have it
When no files are missing the copyright text output an appropriate message
Add missing copyright texts