fix bug of package, use uname hardware platform