Use uname instead of MACHINENAME to detect current system