Fixed Bugs in linking Griffin

I noticed a couple of errors in CMakeLists.txt. For some reason the
text editor I am using does not write to disk at predictable times so
what I see is not necessarily what I am getting at that time.