WinCE Compatibility Fix