Fix NPE hit since removing support for WASAPI