Updates to WASAPI API to support MinGW compile.