Make sure your PATH environment variable includes the winflex and winbison executables. You can check this by opening up cmd.exe and typing winbison. If it is not found, this means you did not set PATH correctly.