Fixing compilation errors in Zigbee library