Fixed specs
Fixed Lua 5.2 getfenv compat