Convert args to array for consistent results across platforms.