Make liblogging-stdlog optional

This change add a configure flag to turn off the functionality provided by liblogging-stdlog.