Fix Mac OS-X backend with path collection.