cmake: fixed incorrect usage of add_definitions()