Fix bad linking of initialized global variables. It would appear files
using a library must use a __declspec(dllimport) modifier to handle
initialized globals such as Agdirected and the default disciplines
correctly.