Fix wrong linux function

Used the mac function instead by accident