T3D-CMAKE: Explicitly destroy the platform window manager instead of depending on a global AutoPtr releasing it whenever the compiler feels like it...