CMake 3.0 fix
Merge pull request #523 from remoe/patch-11

CMake 3.0 fix