Clone the runtime's assembly remapping logic for PCL.