Fix/index isa

Fixes compiler error on windows platforms using the VS compiler suite.
Tested for vs11.