python: fix mavericks include path error

Fixes #20431