cmake: fixed incorrect usage of add_definitions() on Linux
cmake: PCH: use DEFINE_SYMBOL target property
Merge pull request #1500 from alalek:fix_add_definitions