riemann: Fix a compiler warning

Use a gint64 when dealing with 64-bit numbers, instead of a glong.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
basicfuncs-plus, rss: Link against syslog-ng and eventlog

Although the linking is not necessary, because both libsyslog-ng and
libeventlog will be loaded by the parent program anyway, it's nicer if
we do link to them, and it avoids warnings too. Plus we get better
dependency information.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>