try building opengm without any external libs