This fixes failures on configurations that don't have one or the other targets enabled. llvm-svn: 56926