Collapsed fork of pkg src to work on OS X, Ubuntu