Fixes for issues 21 and 22 on Github to not include unistd.h on Windows and to use correct linkage specifier for expat function names for static builds
Fixed _progname pointing to stack memory and left dangling. Also fixed possible buffer overrun when _progname is assigned on Windows.
Merge branch 'master' of https://github.com/philrosenberg/UDUNITS-2