(core:build) fix typo in CMakeLists

cmake was failing with message:
    Unknown CMake command "add_definition".

Seems like the correct command is add_definitions
Merge pull request #72 from Gu1/master

(core:build) fix typo in CMakeLists