Ok, I will report the bug there. I wasn't sure whether distutils had its own issue tracker (I couldn't find it anyway).

I reported the bug and supplied a patch: http://bugs.python.org/issue13765

  Almar