fix paratheses and memset pointer, remove unused math.h includes, add plugin version to configure.ac