ninja: needs Python to build

ninja is not written in Python itself, but its own buildsystem is
written in Python and needs 2.6 or newer.

Fixes #224.
doxygen: needs Python to build

Fixes #216.