Update CMake scripts.
Removed unnecessary files.
Fixed Lunchbox deprecation warnings.