Add YADE_PTR_DYN_CAST to define dynamic_cast.
Remove all "using namespace std;"