Support Windows

Still requires grep, wc and head