Fix out of source build broken by LuaFun integration