Avoid using CMFlattenProfile
This symbol is not available to 64-bit applications. So put another approach in place. I can confirm that the code does not crash, but I do not know if it works properly. Mitch forced me to push anyway.
Showing with 16 additions and 55 deletions