added support for WindowsCE (building on top of klimt)