This include here needs to be wrapped in ifdefs (only use ECM when it is specified on the cmake command line).