Are you running your build on a 32 bit operating system or 64 bit?
EDK2 defaults to 64 bit as I recall, and there is a parameter for that...
I have had every build problem it is possible to have - I just don't remember all the steps to fix them. Wish I kept a journal.