Remove export define limitation that prevented a windows DLL from loading the library statically. Adapted snippet from libzmq.