build error fixes for the windows mods in CCUserDefault