Merge pull request #3 from ilovb/master

build fix for MinGW
Missing break statement in switch.

I hate C sometimes.