build: Add pthread for linux (well, really for travis)