Fix build with CMP0048 set to NEW

Authored by brauch on Jan 3 2017, 2:17 PM.