Fix build problem on Snow Leopard
Merge pull request #28 from pcwalton/snow-leopard

Fix build problem on Snow Leopard