Turns out Rect.h was missing.