Fixed type names.
Put the configure script back into the build.
Fixed compile error, but think we should switch to using atoi instead of
sscanf
fixed compile error.