[syslog-ng] Not able to link syslog-ng libraries through gcc