Move the uname call above the PATH modification