some changes for brics_compiler