Make XySubFilter compilation possible with VS2012 (xy_sub_filter_rc)

Same deal as #1, but also valid for the latest code.