fixed packages build on linux