Fixed warning when using newer version of automake.
Use automake's built-in python support.