Fix ambiguous symbol resolution with libc++