CMake for jagame.dll

Work on cmake for jagame.dll
Fails with LUA not linking with GLUA
total pl0x.