Fix non-gnu buld issue with sscanf extention.