But IME the best solution for this is not to put anything under
"Program Files" (or more generally anywhere on the C: drive): those
directories are watched by several OS mechanisms designed to prevent
corruption, and usually have special access control rights. Programs
installed by the user are better off if they steer away of those
places. My suggestion -- and what I personally use for many years --
is to create a Posix-like tree in D:\usr, and install all programs
like Make there, adding D:\usr\bin to your PATH. This allows to solve
easily the problem discussed here and many others as well.
HTH