Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared