Fix OS recognition