Support CustomData for both Linux and Windows