check whether machine has WASAPI before using it