Fix bug running projects built on Windows