add_definitions before common_library?