cmake changes to fix travis with lua

some other white space formatting as well