[Packages]: fix compile environment