Fixed CMake modules for cross-platform build.
- Added Lua 5.2 libs for MinGW, MSVC and MacOSX