fix compiling without laser_peripherals support