OpenWrt 18.06 build system port to cygwin

An extra bug fix is required if you're building squashfs-based image. Here are details:

Hadn't pushed this change to my github page yet.