fix build problem in Ubuntu 10.04

closes: https://github.com/rsyslog/liblogging/issues/11
Thanks to Assaf Gordon for reporting