fixed cwintypes import (only valid in Windows)
fix for #2287