First set of stdc changes for Android

The stderr symbol doesn't link, but then it doesn't work on Win32/Win64 either, probably Solaris also.