Fix ./configure for OSX