configure: Fix build without libmfx