Only link snn.lib when building with DMD.