cc.has_function() provide a false positive for stpcpy in Android-20 and earlier. Only Android-21+ ship that symbol.
Given that Windows has similar issues with this symbol, should we just skip the system check and only do the link test? I assume cc.links() check produces reliable result.