add linux build port and fix