Fix custom isnan macro in color.h and vector.h