Fix two unused variables for windows build