Improve native support detection