lib: add dependent lua library
nginx: variable to interface among param check and tileserver