Add compatibility for newer version of overlayfs.