cmake: CMP0042 is set conditionally, default to 2.8 behaviour