Support running on MSYS (WIP)

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>