Handle BUILD_SHARED_LIBS properly

Updating indigo-devel from patch on hydro-devel