Fix CMake 2.8.12 warnings
Merge pull request #52 from eile/master

Fix CMake 2.8.12 warnings