fix compiling without laser_intensity_pin