Linking errors using code from my own module

I externalised my code and build my own lib. My module type is now external.

Type = ModuleType.External;

This should work now.