Use sysconfig.get_platform() to check whether the platform is MinGW, and link necessary libraries to wamrc on MinGW.