Fix package bug on linux platforms