Fix windows compilation - location of variable declaration.