Fixed bugs on Linux

Fixed bugs with program data creation on Linux