Pure C port of C++ port of Java libphonenumber