Forcing dynamic linking when the SWIG interface is used.