Fix makefile for docker check to work on MacOS
MacOS has different stat parameters than Linux causing the DOCKER_GID check to fail in the makefile.
MacOS has different stat parameters than Linux causing the DOCKER_GID check to fail in the makefile.