Fix Windows warning about struct vs class