Revert "Fix Linux compatibility"

This reverts commit 9b059861a650179c035e15b23ecbbb7360976bc5.