fix lib64 library path (issue #8)

On SUSE (and some other distros), libraries on 64-bit platforms get installed
to ${exec_prefix}/lib64 rather than .../lib.  Detect the correct path by
parsing config.log.