Fix UNAME handling in Makefile