Fix hintpath

 Copy the System.Management.Automation to the repo and reference it. This way, we don't compile the project based on the PS version installed on the machine.