Fixed minor bugs in Lua deps (again!)
Finally addressed unholy issue in build