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.
Merge pull request #27 from adaugherity/fix_lib64

fix lib64 library path (issue #8)