added platform.h (MSVC compatibility for ssize_t)