Fix link failure on MinGW due to use of CoInitialize.