Fixes spelling of gray and adds makefile check