[mad-dev] Static and dynamic linking