use correct types in sscanf
configure.ac: some corrections
Remove unused assignment