Use target_compile_definitions() in _set_target_defines().

As of CMake 3.0, the way it was being done before is deprecated.
Append instead of set global definition variables.

Some users may want to set these values prior to including
prologue.cmake. This change will allow that.