After #985 is merged, `(?:-mac)?` is no longer need.