Make CONFIGURE_SHARED_ARGS respect cross vars again.