Use more threads to build

This way, it's less likely that travis will time out because adjoint
composition laws are taking too long.