bugfix ibfs maxflow

* fix patch
* change CMakeFile such that ibfs is tested if activated without any other dependence