Honor lib64 libdir path

Some systems set libdir as /lib64, thus we need to handle it properly.

CMake 3.0 provides GNUInstallDir module, but since that feature is too new I just did a trivial hack here.
Merge pull request #11 from cicku/patch-2

Honor lib64 libdir path for cmake.