fix compile error in wp6 sdk