Replace "OLDNANO" switch in Makefile with more accurate version check