Update LuaRocks and fix minor bugs in paths