Unix compatibility issue fix