Fix docset load, and add Mac specifics.