Support OS X packaging. Improve docs.