make the configure script work on os x