Force linking with pthread under unix

Protobuf depends on pthread under unix, but cmake’s FindProtobuf
doesn’t add -lpthread to link flags