Fix BSP compilation