update autogen dependencies
update for VS2013 build
various type fixes
revise windows directions
Merge pull request #404 from sam-s/master

improve Mac OS X support: zcat cannot hangle *.gz
make them work on Mac OSX, by using "gunzip -c" instead of zcat