Changed C API to use __cdecl calling convention
Disabled .def file for visual studio
Ran tests