[NUI] Add ImfManager.Finalize() function back to fix the build error.