Some cake tweaks for windows - need to rewrite makefiles though...
Fixes for windows build (ssize_t)
ShareTree stuff