- normally mingw will export *all* symbols, but since the ADF library explicitly uses __declspec(dllexport) itself we must do the same otherwise none of our library symbols are exported and linking fails. - update some code style for conversion/ccm