Fix compilation on OSX Mountain Lion
Merge pull request #19 from cbenhagen/patch-1

Fix compilation on OSX Mountain Lion