add_library uses the value of BUILD_SHARED_LIBS to decide wether to
build a static or dynamic lib. If it is on, libpane is built but not
installed, which causes kookbook to fail on start, complaining about
"error while loading shared libraries: libpanes.so: cannot open
shared object file: No such file or directory".
Instead make it a static lib.