CB-7547 Fixes audio recording on windows platform

Fix for https://issues.apache.org/jira/browse/CB-7547

Requires https://github.com/apache/cordova-plugin-media/pull/26 to be merged for record manual tests on windows.