How to not compile UAVCAN-related content in arducopter's SITL?

I noticed that libraries/AP_UAVCAN/AP_UAVCAN.h and other UAVCAN related code can be compiled by #if HAL_ENABLE_LIBUAVCAN_DRIVERS, for this reason I was wondering if it would be possible to specify 0 for HAL_ENABLE_LIBUAVCAN_DRIVERS to prohibit SITL from compiling this code?