Update Framework.php

make it work on Windows