Add .def file to export required symbols on windows