Fixes to CMake files

This fixes a bug where CMake tries to link the Iris binary
to the shared lib version of iris_lib (which doesn't exist).