Building project doesn't generate header

I’ve installed UE4 and Visual Studios 2013 for first time on this computer, which is a windows 8.1 machine. I created a project using C++ third person template. When I build project I get following error:

EXEC : error : System.IO.DirectoryNotFoundException: Could not find a part of path ‘C:\Users\albat_000\Documents\Unreal Projects\BattleEngine\Intermediate\Build\Win64\Inc\BattleEngine’.

After poking around on google I figured out file it is failing to generate is BattleEngineCharacter.generated.h. I also found this thread:

This gentlemen has same problem I do, except his problem goes away and root cause was never found.

Hi AJBats,

Please post a comment on post you linked to and give as many details as you can. We’ll track issue there. Thanks!

problem turned out to be name of project I created. I was calling it “BattleEngine”. If I called it just “Battle” it works fine. I was also able to reproduce issue by creating a C++ project called “BlahEngine”, however “EngineTest” worked fine. So I think it project name ends with Engine this bug is triggered.