using uname instead of MACHTYPE variable to detect machine