Windows compatibility fix

Don't initialize variables in their class declaration, do it in the
constructor's initialization list.