Fix configure on OS X

Fixes #65

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #69 from djs55/fix-configure

Fix configure on OS X