Added CMake stuff to allow image_loader to be used outside the package.

This already exists in hydro-devel.