Fix linux build

Replaced DWORD -> Index