Removing need for .def file on windows