python_dependency: fix includes location on 10.9.

Fixes #23837.
Fixes #23866.