Use older cmake macros