Python.h has to be before system headers according to https://docs.python.org/2/extending/extending.html