Fix WASAPI configure checks

I had some trouble building with WASAPI. It turns out there were a couple of typos in configure. Also the `-lavrt` import lib shouldn't be needed, since it's loaded with LoadLibrary.