Move Windows interface smart pointer to base.h