Trying to get cmake to work.
Fixed cmake build.