Fix OS Detection