fixed reference to sscanf on g++