[Bug 4138] New: Build fails on d3d9 test even if d3d9 is not built