Error when Building UE4 with waveworks

Whenever I try to build the ShaderCompileWorker I get this in the error output:

1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1>Performing 30 actions (9 in parallel)
1>Module.ShaderCompilerCommon.cpp
1>Module.RHI.cpp
1>Module.RenderCore.cpp
1>Module.ShaderFormatOpenGL.cpp
1>Module.ShaderFormatD3D.cpp
1>Module.VulkanShaderFormat.cpp
1>Module.ShaderPreprocessor.cpp
1>Module.MetalShaderFormat.cpp
1>Module.ShaderCore.cpp
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>Module.ShaderCompileWorker.cpp
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(806): error C2061: syntax error: identifier ‘FWaveWorksSampleDisplacementsDelegate’
1>f:\game dev\custom ue4\unrealengine-4.19-gameworks-custom\engine\source\runtime\rhi\public\RHIResources.h(807): error C2061: syntax error: identifier ‘FWaveWorksRaycastResultDelegate’
1>UnrealBuildTool : error : UBT ERROR: Failed to produce item: F:\Game Dev\Custom UE4\UnrealEngine-4.19-GameWorks-Custom\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-ShaderCore.lib
1>Total build time: 4,20 seconds (Local executor: 0,00 seconds)
1>E:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command “…\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project “ShaderCompileWorker.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Same thing is happening when building UE4

Thanks in advance for any halp!