Merge "liboverlay: Add check to support older platforms."