Add test
Determine idx_t dynamically

No more try to parse metis.h using SWIG.

Now determine in it dynamically to waf configure step with platform
informations.