Fixed linux compatibility issue