It has nothing to do with the code. This is a failure of the build system:
You will get this if the location containing the Windows command line interpreter cmd (usually C:\Windows\System32) is not in your system path.
That is an unusual circumstance that would probably result from a non-standard system configuration or security restrictions on the user account you are running the IDE from.