[doc] Replace eps bat icon with pdf to fix `make dist` with older pdflatex versions
[cuba] Bugfix configure and compile

o remove a typo when searching for partview
o fix `invalid conversion to non-const` that breaks cuba4 build on some compilers
[examples] Bugfix std include in polynomialfit