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).
Merging pull request from Andre and now linking exe against static lib