Added check for Lua 5.1 on Fedora systems.