Lua5.2 compatibility

https://github.com/terceiro/awesome-freedesktop/issues/23