fixed any_cast functions, so that they actually forward the type ...