Alexey Samsonov: #ifdefs out undefined function in static build of libc++ w/o RTTI.