Add instruction to install pthread library in Travis script.