A pair of minor compile fixes for windows mobile.
A pair of minor compile fixes for windows mobile.

dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle,dmonakhov/haggle