unpack_and_config: fixed cross compile switch in getopt