Apply Chad's fix from issue #2335 to fix other.test_embind.