BUG: guard against windows-specific ctypes import on unix.