added include to fix 'GCC no longer implements <varargs.h>' errors
changed to pkg-config