repaired compilation issues (WIN platform)