Add -lpthread to fix build on newer ld in Ubuntu Raring Ringtail

Signed-off-by: Dan Mick <dan.mick@inktank.com>