If the header isn't found, then you won't (can't) look for the library, and if the library isn't found, then the DLL won't be compiled.
What if the header is present but not an arch specific lib?
You want enable_windows_media_speech.
I want to disable the whole DLL? that sounds odd.