Fix to allow building dynamically on MSVC