build bsp library