Editing build script to work with the more generic configure options.