Changed streq to util_streq, and fixed some warnings