Correct Mac detection