Fix non-admin builds on developer's machines

When doing a build with limited permissions or with UAC turned on
we have to set an environment variable so that typelib registration
succeeds. It seems that a recent Windows update enforced the use
of the environment variable because previously it worked without
even though the variable was documented.

Change-Id: Ifef6fad3cb5755464be6973ed937304417286715