prefer native X11 on Cygwin.
normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk.
SunOS needs -fpermissive too.
prevent to expand if dlname is empty.