current_exception() was returning garbage on older compilers.