Add PreNewBcCompilerFolder and PostNewBcCompilerFolder hooks (#2262)