Disabled '__declspec(dllimport)' for MINGW/MSYS build.