Fixed NPE when BKCommonLib is disabled