[BSP] Fix compiling error