unpack_and_config: added --cache-file option

- --cache-file can be used to give ./configure "hints" on how it
  should behave; when cross-compiling, it can't compile the
  mini-programs it uses to test for certain features