Fixed an issue with the OsX build.
Added a virtual destructor to the Team::Functor so it's got the proper virtualized shutdown.