Add support for windows style flags.

Making progress on surtrstudios/weyland#3