Updated CMake function names.
Merge branch 'next' of github.com:maidsafe/MaidSafe into next