Unable to extend from UCapsuleComponent

I am trying to extend from the UCapsuleComponent but I run into some issues that I can not explain.

#pragma once

#include "Components/CapsuleComponent.h"
#include "SurfCapsuleComponent.generated.h"

/**
 * 
 */
UCLASS(ClassGroup=Shapes, editinlinenew, hidecategories=(Object,LOD,Lighting,TextureStreaming), meta=(BlueprintSpawnableComponent))
class USurfCapsuleComponent : public UCapsuleComponent
{
	GENERATED_UCLASS_BODY()
};

When I compile this I’ll get the following error

1>SurfCapsuleComponent.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl UShapeComponent::GetUsedMaterials(class TArray<class UMaterialInterface *,class FDefaultAllocator> &)const " (?GetUsedMaterials@UShapeComponent@@UEBAXAEAV?$TArray@PEAVUMaterialInterface@@VFDefaultAllocator@@@@@Z)
    1>SurfCapsuleComponent.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UBodySetup * __cdecl UShapeComponent::GetBodySetup(void)" (?GetBodySetup@UShapeComponent@@UEAAPEAVUBodySetup@@XZ)
    1>E:\UnrealProjects\SurfGame\Binaries\Win64\UE4Editor-SurfGame.dll : fatal error LNK1120: 2 unresolved externals

Do you have any idea why I get this error? Why doesn’t it find void UShapeComponent::GetUsedMaterials and virtual class UBodySetup * UShapeComponent::GetBodySetup?