#45 Fixed up configure for OSX