Fixed cross compiling with WASAPI support.