use `luaL_checkudata` in `tostring` method
check whether XPath is enabled while `./configure`