Fixes for making the audio extraction work on windows