fix compilation error

Forget to compile plugins where the changes happened
add errno.h and other small typos