Fix BG release build