Add MacOS configure script