Fix first-time LUA compilation issues.
Fix compilation issues due to unconfigured dependency libraries.
Fix indent typo error.