configure: Check that the cross-compiler that we found actually works.