remove building of external libraries in opengm