Fix problems of running bin files in linux