Adding C extension