use wrapper to set LUA_PATH variable
include share directory
Merge pull request #3137 from flosse/lua5-prefix-fix

use wrapper to set LUA_PATH variable to fix #3036