Issue 55 changes to make xml package work on OS X 10.9
Merge branch 'issue_55'