Reset HAVE_MMDEVAPI before checking the backends