Lots of compiling.
Moved windows typedefs to a separate file. Included public domain md5 routines (from dpkg).