Fixed the ploblems on Windows. [#18]