Better OS checking.