Make compile without sscanf()

compile-tested only