fix compiler error in wp8