WIN32 - fixed all reallocs to a proper style