Synchronize cmake submodule.

  Fix distcheck target.
Create files in binary directory instead of source directory.
Synchronize cmake submodule.