Fix for several cmake errors in lobes stuff
I couldn't get lobes to compile with the current cmake configs -- it contains several errors. After this MR it compiles. We might have to be a bit more careful to keep these things out of master.
I couldn't get lobes to compile with the current cmake configs -- it contains several errors. After this MR it compiles. We might have to be a bit more careful to keep these things out of master.