Use separate file to install Lua/LuaRocks

Based on https://github.com/mpeterv/literal.