Issues using imported library from GitHub - Invalid preprocessing directive & Invalid Library found at C/

The operative word is "scripts" since that is not valid C/C++
Maybe whatever compiler the authors use allows it, but avr-gcc does not. It should be reported as a bug in their library.