Smart pointer and OS header file