WmfMedia don't let me to package my game

I got the same error on 4.18.3 with VS2017 15.7.2:

3>ERROR : UBT error : Failed to produce item: D:\UnrealEngine\Engine\Plugins\Media\WmfMedia\Binaries\Win64\UE4-WmfMedia.lib

3>Total build time: 5.42 seconds (Local executor: 0.00 seconds)

3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command “…..\Build\BatchFiles\Build.bat UE4Game Win64 DebugGame -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.

3>Done building project “UE4.vcxproj” – FAILED.

This only happens if I build with “DebugGame” configuration. When I used “Debug Editor” configuration, it works fine.

I’ve tried to clean and rebuild it for many times, but no luck.

Any solution?