Force functions to have C linkage

- Add license header to CMakeLists.txt;
- Fix the year in license headers.
Merge remote-tracking branch 'origin/master'