Fix class for face detection in Linux