Added definition of lua_number2int for Lua 5.1

I was unable to to load numlua library, kept getting error message:
    /usr/local/lib/lua/5.1/numlua.so: undefined symbol: lua_number2int
Adding this definition alleviated the problem.