Remove usage of target_compile_definitions which is only available in cmake 2.8.11