This leads to problems when compiling C++ code with libc++ for Nvidia GPUs
because Clang now uses wrappers for math functions that might include
C++ templates not allowed in 'extern "C"'.
Rebase. (clever git even did the merge for me!)
Committed in rL366229 (but made a typo)