Fix tsc command invoking and specs for Windows