libcollectdclient: Build the library using -Wall -Werror.