Fix Linux compat