Bug1069468 fixed several problems with shallow_flash on on Cygwin

A couple of fixes that allow this to work on Windows + Cygwin

https://bugzilla.mozilla.org/show_bug.cgi?id=1069468