Fixed fake generation for build on sharepoint machine.