Linux compat fix