Fix type on Win