Fix bugs caused by writing code while half asleep.
Fix bugs caused by writing code while half asleep.

vegard/libcxxrt,xin3liang/platform_external_libcxxrt,sudosurootdev/external_libcxxrt,vegard/libcxxrt,sudosurootdev/external_libcxxrt,cemeyer/libcxxrt,vegard/libcxxrt,cemeyer/libcxxrt,xin3liang/platform_external_libcxxrt,xin3liang/platform_external_libcxxrt,cemeyer/libcxxrt,sudosurootdev/external_libcxxrt