Migrating to CMake 3.0

Not tested yet...