#961206 improve sphinx usage for cross building