configure: Use string comparison for directory inodes. Inode values might be larger than integers supported by the shell. Fixes #1105.