Revert "Use ADD_DEFINITIONS and ADD_COMPILE_OPTIONS."

This reverts commit 47c3c1f8c9bb3d8bbb070073f6a3c20f55589b7a.

ADD_COMPILE_OPTIONS is only available since CMake 2.8.12.  Travis only has
2.8.7 available.