Make check-lua work on OSX