fix cors filter build error