Basic windows/unix abstraction