Switch to native C extension