Improve WINCE support.

Submitted by: Pierre Delaage