Make error code match that of Lua 5.2 (on Linux at least...)