Some of you might not have noticed it yet but the way that os.clock works on Linux is much different than it does on windows even in normal Lua 5.1. It just counts the time that the cpu has been running while it skips the sleep/vsync delay time. This replacement should fix that and it would make it work exactly like in Windows.
Installation is normal, just extract it and it'll be working.