How do I use UCustomMeshComponent?

I have added CUSTOMMESHCOMPONENT_API to the CustomMeshComponent.h but still no luck. Do I need to do a full recompile of the engine itself afterwards or should it just work when I run my project?