Sometimes brake lines use different size (thread) tube nuts. If available you can usually just swap the tube nut, reflare the line, and attach without any extra adapter.
You may still have a non original master cylinder, but the above can help you use it none the less.