fix for hydro/indigo

use cmake_modules for indigo/hydro, this may not working on groovy, so I think we need to create groovy-devel branch and put this code into master, or create hydro-devel branch and put this code into hydro-devel