Problem creating c++ project: failed to produce UE4Editor-MyProject.dll

When I try to create new c++ project, I get this:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“C:/Users/Kesti/Documents/Unreal Projects/MyProject/MyProject.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Creating makefile for MyProject (no existing makefile)
Performing full C++ include scan (no include cache file)
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “C:\Users\Kesti\Documents\Unreal Projects\MyProject\MyProject.uproject” “C:\Users\Kesti\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 9,8485641 seconds
@progress pop
Performing 8 actions (4 in parallel)
[2/8] Resource ModuleVersionResource.rc.inl
[3/8] Resource PCLaunch.rc
SharedPCH.Engine.cpp
C:\Program Files\Epic Games\UE_4.16\Engine\Source\Runtime\Core\Public\HAL/PlatformCrt.h(5): fatal error C1083: Cannot open include file: ‘new’: No such file or directory
ERROR: UBT ERROR: Failed to produce item: C:\Users\Kesti\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
Total build time: 29,26 seconds (Local executor: 0,00 seconds)

Non-c++ projects create just fine.