Change order of includes in CMake templates.

In praticular, it fixes include mismatch on systems with custom builds
of numpy living outside standard python include dirs.