Use a common file for reflective dll injection

Two copies of the same file were present in the code, this commit fixes this so
that there's a single file used in both projects.