add check for 32/64 bit system in CMake
Merge pull request #42 from firefly2442/cmake-32-64-check

add check for 32/64 bit system in CMake