lua: Fix build on Linuxbrew

Closes Homebrew/linuxbrew#79