fix l-rectangle.c's bug, and include math.h in xboot.h