Use less threads for compiling opengm.