CMake: Check for syntax errors befores precompiling Lua code.