Reintroduce ECM.

It's needed for KDEInstallDirs.