added additional linux compatibility