fix linux build scripts