Make org.conman.env compile for Lua 5.2.

Also, fall back down to C89 for LuaRocks.  Sigh.
Convert org.conman.errno for Lua 5.1 or higher.