explicitly add STATIC keyword to iris_lib target

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