Fixed a small bug in utils.h, added #endif