Update CMakeLists.txt

make it compile on ARM
Merge pull request #15 from kalectro/master

cmake changes for ARM