Added using System; at beginning of windows phone native file to see if that corrects build error.