wince: fix build of ts module