Add the export declaration to the bear::spring class.

Now it links well on Windows.